

import time
from selenium.webdriver.common.action_chains import ActionChains
from Common.basepage import BasePage
from PageLocators.login.login_page_locator import LoginPageLocator
from PageLocators.TS.ts_home_loc import TSHomePageLocator
from PageLocators.TS.ts_student_detail_loc import StudentDetailLocator


class TSHomePage(BasePage):
    # 搜索学员页面
    def enter_searchStuPage(self):
        self.click_element(TSHomePageLocator.searchStu_loc, "进入搜索学员页面")
        time.sleep(2)

    # 搜索班级页面
    def enter_searchClass(self):
        self.click_element(TSHomePageLocator.myClass_loc, "进入搜索班级页面")